<?php
/**
 * Created by PhpStorm.
 * User: boye009
 * Date: 2016/4/8
 * Time: 9:17
 */

namespace Webview\Controller;

use Think\Controller;
use Recruit\Api\CompanyEmployApi;
class CompanyController extends Controller{

    /**
     * 岗位详情
     */
    public function detail(){
        $map['id'] = I('id');
        $info = apiCall(CompanyEmployApi::GET_INFO,array($map));
        if($info['status']){
            $info['info']['text'] = htmlspecialchars_decode($info['info']['text']);
            $this->assign($info['info']);
        }
        $this->display();
    }




}